package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 *
 * @author wuye
 */
public class TbOrder implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Integer id;
    /**
     * 用户uid
     */
    private String uid;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 是否支付 1:已支付 0:未支付
     */
    private Boolean ispay;
    /**
     * 订单号
     */
    private String billno;
    /**
     * 订单状态
     */
    private String orderstatus;
    /**
     * 支付时间
     */
    private Date paydate;
    /**
     * 支付方式
     */
    private String paytype;
    /**
     * 金额 单位 ：分
     */
    private Float totalfee;
    /**
     * uuid
     */
    private String guid;
    /**
     * 更新时间
     */
    private Date updatedate;
    /**
     * 更新人
     */
    private String updateuser;
    /**
     * 用户名
     */
    private String username;
    /**
     * 是否删除 1:已删除  0：未删除
     */
    private Boolean isdelete;
    /**
     * 物流类型
     */
    private String wuliutype;
    /**
     * 物流订单号
     */
    private String wuliuorderno;
    /**
     * 地址id
     */
    private Integer addressid;
    /**
     * 商品id
     */
    private String shoppingcartid;

    /**
     * 下单渠道
     * 0: "普通",
     * 1: "团购",
     * 2: "好友帮砍",
     * 3: "限时抢购",
     * <p>
     * 4: "新品试吃",
     * 5: "新人专享",
     * 6: "代理下单"
     */
    private String channel;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0首单 1复购
     */
    private Integer isfirst;

    /**
     * 商品ID
     */
    private Integer commodityid;
    /**
     * 活动ID
     */
    private Integer aid;


    /**
     * 代理人ID
     */
    private Integer proxyuserid;

    /**
     * 是否为代理订单 0 否  1 是
     */
    private Integer isproxy;

    /**
     * 退款类型：0:仅退款 1:退款+退货
     */
    private Integer refundtype;

    /**
     * 申请退款原因
     */
    private String refunddetails;

    /**
     * 退款图片数组
     */
    private String refundpic;

    /**
     * 0:未收货  1:已收货
     */
    private Integer refundstatus;

    /**
     * 运费
     */
    private Float freight;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Boolean getIspay() {
        return ispay;
    }

    public void setIspay(Boolean ispay) {
        this.ispay = ispay;
    }

    public String getBillno() {
        return billno;
    }

    public void setBillno(String billno) {
        this.billno = billno == null ? null : billno.trim();
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus == null ? null : orderstatus.trim();
    }

    public Date getPaydate() {
        return paydate;
    }

    public void setPaydate(Date paydate) {
        this.paydate = paydate;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype == null ? null : paytype.trim();
    }

    public Float getTotalfee() {
        return totalfee;
    }

    public void setTotalfee(Float totalfee) {
        this.totalfee = totalfee;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser == null ? null : updateuser.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Boolean getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Boolean isdelete) {
        this.isdelete = isdelete;
    }

    public String getWuliutype() {
        return wuliutype;
    }

    public void setWuliutype(String wuliutype) {
        this.wuliutype = wuliutype == null ? null : wuliutype.trim();
    }

    public String getWuliuorderno() {
        return wuliuorderno;
    }

    public void setWuliuorderno(String wuliuorderno) {
        this.wuliuorderno = wuliuorderno == null ? null : wuliuorderno.trim();
    }

    public Integer getAddressid() {
        return addressid;
    }

    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    public String getShoppingcartid() {
        return shoppingcartid;
    }

    public void setShoppingcartid(String shoppingcartid) {
        this.shoppingcartid = shoppingcartid;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIsfirst() {
        return isfirst;
    }

    public void setIsfirst(Integer isfirst) {
        this.isfirst = isfirst;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getProxyuserid() {
        return proxyuserid;
    }

    public void setProxyuserid(Integer proxyuserid) {
        this.proxyuserid = proxyuserid;
    }

    public Integer getIsproxy() {
        return isproxy;
    }

    public void setIsproxy(Integer isproxy) {
        this.isproxy = isproxy;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getRefundtype() {
        return refundtype;
    }

    public void setRefundtype(Integer refundtype) {
        this.refundtype = refundtype;
    }

    public String getRefunddetails() {
        return refunddetails;
    }

    public void setRefunddetails(String refunddetails) {
        this.refunddetails = refunddetails;
    }

    public String getRefundpic() {
        return refundpic;
    }

    public void setRefundpic(String refundpic) {
        this.refundpic = refundpic;
    }

    public Integer getRefundstatus() {
        return refundstatus;
    }

    public void setRefundstatus(Integer refundstatus) {
        this.refundstatus = refundstatus;
    }

    public Float getFreight() {
        return freight;
    }

    public void setFreight(Float freight) {
        this.freight = freight;
    }
}